﻿using System;

class Program
{
    static void Main()
    {
        //Exercise 2.
        //Which of the following values can be assigned to a variable of type float and which to a variable of type 
        //double: 34.567839023, 12.345, 8923.1234857, 3456.091?

        double Variable1 = 34.567839023;
        float Variable2 = 12.345f;
        double Variable3 = 8923.1234857;
        float Variable4 = 3456.091f;

        Console.WriteLine("The double variables are {0} and {1}. \nThe float variables are {2} and {3}", Variable1, Variable3, Variable2, Variable4);


    }
}